package com.powernode.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @Description: 登录策略接口
 * @Author: Tong Ziyu
 * @Date: 2024/10/25 23:08
 */
public interface LoginStrategy {

    /**
     * 真正处理登录的方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
